<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/amazeui.min.css"/>
		<link rel="stylesheet" type="text/css" href="{$_C.hy_path}css/hy.admin.css"/>
	</head>
	<body>
		<div class="am-g">
			 {include file='../Common/hy_header.html'}
			 	
      <div class="am-u-md-6 am-cf">
        <div class="am-fl am-cf">
          <div class="am-btn-toolbar am-fl">
            <div class="am-btn-group am-btn-group-xs">
            	<form action="index.php?g=admin&m=gift&a=daoLog" method="post">
	            	<select name="num">
	            		<option value="0">全部</option>
	            		{foreach from=$arr item=nm}
	            		<option value="{$nm.num}">{$nm.start}&nbsp;To&nbsp;{$nm.end}</option>
	            		{/foreach}
	            	</select>
	            	<button class="am-btn am-btn-default"><span class="am-icon-plus"></span> 导出</button>
	            </form>
            </div>

            <div class="am-form-group am-margin-left am-fl">
             
            </div>
          </div>
        </div>
      </div>
      <div class="am-u-md-3 am-cf">
        <div class="am-fr">
          <div class="am-input-group am-input-group-sm">
         
          </div>
        </div>
      </div>
      
      <div class="am-g">
      <div class="am-u-sm-12">
        <div class="am-form">
          <table class="am-table am-table-striped am-table-hover hy-table-main">
            <thead>
              <tr>
                <th class="table-check"></th>
                <th class="table-id">排名</th>
                <th class="table-title">头像</th>
                <th class="table-title">昵称</th>
                <th class="table-title">总分</th>
                <th class="table-title">总游戏次数</th>
                <th class="table-title">最后游戏时间</th>
                <th class="table-title">最后游戏IP</th>
                <th class="table-set">操作</th>
              </tr>
          </thead>
          <tbody>
          	 {foreach from=$list item=art}
            <tr>
              <td></td>
              <td>{$art.num}</td>
              <td><img src="{$art.headimgurl}" width="30px"></td>
              <td>{$art.nickname}</td>
              <td>{$art.allScore}</td>
              <td>{$art.allCount}</td>
              <td>{$art.lastTime}</td>
              <td>{$art.lastIp}</td>
              <td>
                <div class="am-btn-toolbar">
                  <div class="am-btn-group am-btn-group-xs">
                    <button data-id="editview{$art.id}" data-title="{$art.nickname}" data-href="index.php?g=admin&m=gift&a=detail&id={$art.id}&num={$art.num}" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href"><span class="am-icon-pencil-square-o"></span> 分数详情</button>
                    <button data-id="logview{$art.id}" data-title="{$art.nickname}" data-href="index.php?g=admin&m=gift&a=detailLog&id={$art.id}" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href"><span class="am-icon-pencil-square-o"></span> 游戏详情</button>
                    <button data-id="addview{$art.id}" data-title="{$art.nickname}" data-href="index.php?g=admin&m=gift&a=addLog&wxid={$art.wxid}&openid={$art.openid}" class="am-btn am-btn-default am-btn-xs am-text-secondary hy-js-href"><span class="am-icon-pencil-square-o"></span> 加分详情</button>
                  </div>
                </div>
              </td>
            </tr>
             {/foreach} 
          </tbody>
        </table>
          <div class="am-cf">

  <div class="am-fr">
  {$page}
  </div>
</div>
          <hr />
      
        </div>
      </div>

    </div>
    </div>
   {include file='../Common/hy_footer.html'}
	</body>
</html>
